<template>
  <div>
    <div class="bg-white grid-content">
      <el-tabs v-model="activeName" type="card" @tab-click="handleMenuClick">
        <el-tab-pane label="总览" name="first">总览</el-tab-pane>
        <el-tab-pane label="电量统计" name="second">电量统计</el-tab-pane>
        <el-tab-pane label="月负荷最大值" name="third">月负荷最大值</el-tab-pane>
        <el-tab-pane label="出线电量" name="fourth">出线电量</el-tab-pane>
        <el-tab-pane label="指标统计" name="fifth">指标统计</el-tab-pane>
        <el-tab-pane label="设备评级" name="sixth">设备评级</el-tab-pane>
        <el-tab-pane label="电压统计" name="seventh">电压统计</el-tab-pane>
        <el-tab-pane label="操作次数统计" name="eighth">操作次数统计</el-tab-pane>
        <el-tab-pane label="缺陷及处理情况" name="ninth">缺陷及处理情况</el-tab-pane>
        <el-tab-pane label="运行说明" name="tenth">运行说明</el-tab-pane>
        <el-tab-pane label="安全措施、反事故措施执行情况" name="eleventh">安全措施、反事故措施执行情况</el-tab-pane>
      </el-tabs>

      <!-- 总览表格 -->
      <el-table :data="zonglanTableData" v-show="zonglanVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" prop="dwmc" label="单位名称">
        </el-table-column>
        <el-table-column align="center" prop="bcdw" label="保存单位">
        </el-table-column>
        <el-table-column align="center" prop="tbsj" label="填报时间">
        </el-table-column>
        <el-table-column align="center" prop="zbren" label="制表人">
        </el-table-column>
        <el-table-column align="center" prop="shren" label="审核人">
        </el-table-column>
        <el-table-column align="center" prop="bcqx" label="保存期限">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>

        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
            <el-button @click="handleClick(scope.row, 'edit')" type="text">审核</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 电量统计表格 -->
      <el-table :data="dianliangtongjiTableData" v-show="dianliangtongjiVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="电源进线">
          <el-table-column align="center" prop="dyjxKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="dyjxKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="主变35kv">
          <el-table-column align="center" prop="zbsswkvKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="zbsswkvKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="主变10kv">
          <el-table-column align="center" prop="zbskvKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="zbskvKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="进出差额">
          <el-table-column align="center" prop="jcceKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="jcceKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="主变平均损耗">
          <el-table-column align="center" prop="zbpjshKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="zbpjshKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="35kv出线">
          <el-table-column align="center" prop="sswkvcxKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="sswkvcxKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="10kv出线">
          <el-table-column align="center" prop="skvcxKwh" label="Kwh">
          </el-table-column>
          <el-table-column align="center" prop="skvcxKvarh" label="Kvarh">
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" prop="dldrq" label="电力电容器">
        </el-table-column>
        <el-table-column align="center" prop="ll" label="力率">
        </el-table-column>
        <el-table-column align="center" prop="sydl" label="所用电量">
        </el-table-column>
        <el-table-column align="center" prop="bz" label="备注">
        </el-table-column>


        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>

        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 月负荷最大值统计表格 -->
      <el-table :data="yfhzdzjcxdlTableData" v-show="yfhzdzjcxdlVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="一号主变">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="yhzbAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="yhzbAskv" label="10kv">
            </el-table-column>
          </el-table-column>
          <el-table-column align="center" label="KW">
            <el-table-column align="center" prop="yhzbKWsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="yhzbKWskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="二号主变">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="ehzbAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="ehzbAskv" label="10kv">
            </el-table-column>
          </el-table-column>
          <el-table-column align="center" label="KW">
            <el-table-column align="center" prop="ehzbKWsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="ehzbKWskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81109">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyljAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyljAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81110">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyylAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyylAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81111">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyyyAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyyyAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81112">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyyeAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyyeAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81113">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyysAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyysAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81114">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyyfAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyyfAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81115">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyywAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyywAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81116">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyyliuAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyyliuAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81117">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyyqAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyyqAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="81118">
          <el-table-column align="center" label="A">
            <el-table-column align="center" prop="byyybAsswkv" label="35kv">
            </el-table-column>
            <el-table-column align="center" prop="byyybAskv" label="10kv">
            </el-table-column>
          </el-table-column>
        </el-table-column>

        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>

        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!--      出线电量统计表格-->
      <el-table :data="cxdlTableData" v-show="cxdlVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" prop="cxmc" label="出线名称">
        </el-table-column>
        <el-table-column align="center" prop="ygdl" label="有功电量">
        </el-table-column>
        <el-table-column align="center" prop="wgdl" label="无功电量">
        </el-table-column>
        <el-table-column align="center" prop="glys" label="功率因数">
        </el-table-column>

        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>

        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 指标统计表格 -->
      <el-table :data="zbtjTableData" v-show="zbtjVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="安全记录(天)">
          <el-table-column align="center" label="无责任事故" prop="aqjlwzrsg"></el-table-column>
          <el-table-column align="center" label="无设备事故" prop="aqjlwsbsg"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="倒闸操作">
          <el-table-column align="center" label="次数" prop="dzczcs"></el-table-column>
          <el-table-column align="center" label="正确率" prop="dzczzql"></el-table-column>
          <el-table-column align="center" label="票数" prop="dzczps"></el-table-column>
          <el-table-column align="center" label="合格率" prop="dzczhgl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="工作票">
          <el-table-column align="center" label="一种" prop="gzpyz"></el-table-column>
          <el-table-column align="center" label="二种" prop="gzpez"></el-table-column>
          <el-table-column align="center" label="合格率" prop="gzphgl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="保护动作次数">
          <el-table-column align="center" label="动作" prop="bhdzcsdz"></el-table-column>
          <el-table-column align="center" label="误动" prop="bhdzcswd"></el-table-column>
          <el-table-column align="center" label="正确率" prop="bhdzcszql"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="自动装置动作次数">
          <el-table-column align="center" label="动作" prop="zdzzdzcsdz"></el-table-column>
          <el-table-column align="center" label="误动" prop="zdzzdzcswd"></el-table-column>
          <el-table-column align="center" label="正确率" prop="zdzzdzcszql"></el-table-column>
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 设备评级统计表格 -->
      <el-table :data="sbpjTableData" v-show="sbpjVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="主变">
          <el-table-column align="center" label="单元数量" prop="zbdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="zbyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="zbel"></el-table-column>
          <el-table-column align="center" label="三类" prop="zbsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="zbwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="母线">
          <el-table-column align="center" label="单元数量" prop="mxdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="mxyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="mxel"></el-table-column>
          <el-table-column align="center" label="三类" prop="mxsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="mxwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="开关">
          <el-table-column align="center" label="单元数量" prop="kgdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="kgyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="kgel"></el-table-column>
          <el-table-column align="center" label="三类" prop="kgsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="kgwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="电力电容器">
          <el-table-column align="center" label="单元数量" prop="dldrqdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="dldrqyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="dldrqel"></el-table-column>
          <el-table-column align="center" label="三类" prop="dldrqsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="dldrqwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="所用变">
          <el-table-column align="center" label="单元数量" prop="sybdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="sybyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="sybel"></el-table-column>
          <el-table-column align="center" label="三类" prop="sybsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="sybwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="刀闸">
          <el-table-column align="center" label="单元数量" prop="dzdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="dzyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="dzel"></el-table-column>
          <el-table-column align="center" label="三类" prop="dzsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="dzwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="直流系统">
          <el-table-column align="center" label="单元数量" prop="zlxtdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="zlxtyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="zlxtel"></el-table-column>
          <el-table-column align="center" label="三类" prop="zlxtsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="zlxtwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="防雷接地">
          <el-table-column align="center" label="单元数量" prop="fljddysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="fljdyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="fljdel"></el-table-column>
          <el-table-column align="center" label="三类" prop="fljdsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="fljdwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="继自装置">
          <el-table-column align="center" label="单元数量" prop="jzzzdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="jzzzyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="jzzzel"></el-table-column>
          <el-table-column align="center" label="三类" prop="jzzzsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="jzzzwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="监控系统">
          <el-table-column align="center" label="单元数量" prop="jkxtdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="jkxtyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="jkxtel"></el-table-column>
          <el-table-column align="center" label="三类" prop="jkxtsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="jkxtwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="五防程序锁">
          <el-table-column align="center" label="单元数量" prop="wfcxsdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="wfcxsyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="wfcxsel"></el-table-column>
          <el-table-column align="center" label="三类" prop="wfcxssl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="wfcxswhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="土建">
          <el-table-column align="center" label="单元数量" prop="tjdysl"></el-table-column>
          <el-table-column align="center" label="一类" prop="tjyl"></el-table-column>
          <el-table-column align="center" label="二类" prop="tjel"></el-table-column>
          <el-table-column align="center" label="三类" prop="tjsl"></el-table-column>
          <el-table-column align="center" label="完好率" prop="tjwhl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="设备指标">
          <el-table-column align="center" label="台数" prop="sbzbts"></el-table-column>
          <el-table-column align="center" label="完好率" prop="sbzbwhl"></el-table-column>
          <el-table-column align="center" label="一类率" prop="sbzbyll"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="设备维护次数">
          <el-table-column align="center" label="一次" prop="sbwhcsyc"></el-table-column>
          <el-table-column align="center" label="二次" prop="sbwhcsec"></el-table-column>
          <el-table-column align="center" label="直流" prop="sbwhcszl"></el-table-column>
          <el-table-column align="center" label="及时率" prop="sbwhcsjsl"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="主变容器" prop="zbrl">
        </el-table-column>
        <el-table-column align="center" label="台数" prop="ts">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 电压统计表格 -->
      <el-table :data="dytjTableData" v-show="dytjVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="最高kv">
          <el-table-column align="center" label="35kv母线" prop="zgkvsswkvmx"></el-table-column>
          <el-table-column align="center" label="10kv母线" prop="zgkvskvmx"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="最低kv">
          <el-table-column align="center" label="35kv母线" prop="zdkvsswkvmx"></el-table-column>
          <el-table-column align="center" label="10kv母线" prop="zdkvskvmx"></el-table-column>
        </el-table-column>
        <el-table-column align="center" label="超标小时">
          <el-table-column align="center" label="高">
            <el-table-column align="center" label="35kv母线" prop="cbxsgsswkvmx"></el-table-column>
            <el-table-column align="center" label="10kv母线" prop="cbxsgskvmx"></el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" label="超标小时">
          <el-table-column align="center" label="低">
            <el-table-column align="center" label="35kv母线" prop="cbxsdsswkvmx"></el-table-column>
            <el-table-column align="center" label="10kv母线" prop="cbxsdskvmx"></el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 操作次数统计表格 -->
      <el-table :data="czcsTableData" v-show="czcsVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="姓名" prop="xm">
        </el-table-column>
        <el-table-column align="center" label="本月" prop="benyue">
        </el-table-column>
        <el-table-column align="center" label="累计" prop="lj">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 缺  陷  及  处  理  情  况统计表格 -->
      <el-table :data="qxjclqkTableData" v-show="qxjclqkVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="内容" prop="nr">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 运     行     说    明  情  况统计表格 -->
      <el-table :data="yxsmTableData" v-show="yxsmVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="内容" prop="nr">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 安全措施、反事故措施执行情况统计表格 -->
      <el-table :data="aqcsTableData" v-show="aqcsVisible">
        <el-table-column type="index" label="序号">
        </el-table-column>
        <el-table-column align="center" prop="nianyue" label="月份">
        </el-table-column>
        <el-table-column align="center" label="内容" prop="nr">
        </el-table-column>
        <el-table-column align="center" fixed="right" prop="approveStatus" label="审核状态">
          <template slot-scope="scope">
            <el-tooltip :content="scope.row.approveBz" placement="bottom" effect="light" :disabled="!scope.row.approveBz">
              <el-badge :is-dot="scope.row.approveBz||scope.row.approveBz===' '" class="item">
                <el-tag :class="scope.row.approveBz?'tagstyle':''"
                        :type="
              scope.row.approveStatus == '2'
                ?'success'
                :scope.row.approveStatus == '1'
                  ? 'warning'
                  : scope.row.approveStatus == '0'
                    ? 'info'
                    : 'danger'"
                        disable-transitions>{{
                    scope.row.approveStatus == '2'
                      ?'已通过'
                      :scope.row.approveStatus == '1'
                        ? '未审核'
                        : scope.row.approveStatus == '0'
                          ? '未提交'
                          : '未通过'
                  }}</el-tag>
              </el-badge>
            </el-tooltip>
          </template>
        </el-table-column>
        <el-table-column align="center" fixed="right" label="操作" width="100">
          <template slot-scope="scope">
            <el-button @click="handleClick(scope.row, 'check')" type="text">查看</el-button>
          </template>
        </el-table-column>
      </el-table>
      <!-- 分页器 -->
      <el-pagination align='right'
                     @size-change="handleSizeChange"
                     @current-change="handleCurrentChange"
                     :current-page="pageNo"
                     :page-sizes="[1,5,10,20,30]"
                     :page-size="pageSize"
                     layout="total, sizes, prev, pager, next, jumper"
                     :total="total">
      </el-pagination>





      <!-- 总览弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="zonglanFormVisible" ref="zonglanForm">


        <el-divider content-position="left">相关信息</el-divider>
        <el-form :inline="true" :model="zonglanFormData" class="demo-form-inline" :disabled="isInput" v-show="ischeck">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zonglanFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-row>
            <el-col :span="12">
              <el-form-item label="单位名称:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zonglanFormData.dwmc" placeholder="请输入单位名称"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="保存单位:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zonglanFormData.bcdw" placeholder="请输入保存单位"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="填报时间">
                <el-date-picker v-model="zonglanFormData.tbsj" align="right" type="date" placeholder="请选择日期"
                                :picker-options="pickerOptions">
                </el-date-picker>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="制表人:">
                <el-input v-model="zonglanFormData.zbren" placeholder="请输入制表人姓名"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="审核人:">
                <el-input v-model="zonglanFormData.shren" placeholder="请输入审核人姓名"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="保存期限:">
                <el-input v-model="zonglanFormData.bcqx" placeholder="请输入保存期限"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <el-form v-show="!ischeck" :inline="true" :model="zonglanFormData" class="demo-form-inline" ref="zonglanForm" label-position="left" label-width="80px">
          <el-form-item label="审核:" >
            <el-select v-model="zonglanFormData.approveStatus" placeholder="请选择审核状态">
              <!-- syjForm.approveStatus=='0'? syjForm.approveStatus == '未审核':syjForm.approveStatus=='1'?syjForm.approveStatus == '通过':syjForm.approveStatus == '不通过' -->
              <el-option label="未审核" value="1"></el-option>
              <el-option label="通过" value="2"></el-option>
              <el-option label="不通过" value="3"></el-option>
            </el-select>
          </el-form-item>

          <el-row>
            <el-form-item label="审核备注:">
              <el-input v-model="zonglanFormData.approveBz" placeholder="请输入审核备注"></el-input>
            </el-form-item>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('syjForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('syjForm')">确 定</el-button>
        </div>


      </el-dialog>



      <!-- 电量统计弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="dianliangtongjiFormVisible" ref="dianliangtongjiForm">

        <el-form :inline="true" :model="dianliangtongjiFormData" class="demo-form-inline" :disabled="isInput">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="dianliangtongjiFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">电源进线</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="电源进线Kwh:">
                <el-input v-model="dianliangtongjiFormData.dyjxKwh" placeholder="请输入电源进线Kwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="电源进线Kvarh:">
                <el-input v-model="dianliangtongjiFormData.dyjxKvarh" placeholder="请输入电源进线Kvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">主变35kv</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变35kvKwh:">
                <el-input v-model="dianliangtongjiFormData.zbsswkvKwh" placeholder="请输入主变35kvKwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="主变35kvKvarh:">
                <el-input v-model="dianliangtongjiFormData.zbsswkvKvarh" placeholder="请输入主变35kvKvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">主变10kv</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变10kvKwh:">
                <el-input v-model="dianliangtongjiFormData.zbskvKwh" placeholder="请输入主变10kvKwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="主变10kvKvarh:">
                <el-input v-model="dianliangtongjiFormData.zbskvKvarh" placeholder="请输入主变10kvKvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">进出差额</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="进出差额Kwh:">
                <el-input v-model="dianliangtongjiFormData.jcceKwh" placeholder="请输入进出差额Kwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="进出差额Kvarh:">
                <el-input v-model="dianliangtongjiFormData.jcceKvarh" placeholder="请输入进出差额Kvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">主变平均损耗</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变平均损耗Kwh:">
                <el-input v-model="dianliangtongjiFormData.zbpjshKwh" placeholder="请输入主变平均损耗Kwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="主变平均损耗Kvarh:">
                <el-input v-model="dianliangtongjiFormData.zbpjshKvarh" placeholder="请输入主变平均损耗Kvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">35kv出线</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="35kv出线Kwh:">
                <el-input v-model="dianliangtongjiFormData.sswkvcxKwh" placeholder="请输入35kv出线Kwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="35kv出线Kvarh:">
                <el-input v-model="dianliangtongjiFormData.sswkvcxKvarh" placeholder="请输入35kv出线Kvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">10kv出线</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="10kv出线Kwh:">
                <el-input v-model="dianliangtongjiFormData.skvcxKwh" placeholder="请输入10kv出线Kwh"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="10kv出线Kvarh:">
                <el-input v-model="dianliangtongjiFormData.skvcxKvarh" placeholder="请输入10kv出线Kvarh"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">其他</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="电力电容器:">
                <el-input v-model="dianliangtongjiFormData.dldrq" placeholder="请输入电力电容器"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="力率:">
                <el-input v-model="dianliangtongjiFormData.ll" placeholder="请输入力率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="所用电量:">
                <el-input v-model="dianliangtongjiFormData.sydl" placeholder="请输入所用电量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="备注:">
                <el-input v-model="dianliangtongjiFormData.bz" placeholder="请输入备注"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('dianliangtongjiForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('dianliangtongjiForm')">确 定</el-button>
        </div>
      </el-dialog>



      <!-- 月负荷最大值弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="yfhzdzjcxdlFormVisible" ref="yfhzdzjcxdlForm">

        <el-form :inline="true" :model="yfhzdzjcxdlFormData" class="demo-form-inline" :disabled="isInput">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">一号主变</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="一号主变-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.yhzbAsswkv" placeholder="请输入一号主变-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="一号主变-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.yhzbAskv" placeholder="请输入一号主变-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="一号主变-KW-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.yhzbKWsswkv" placeholder="请输入一号主变-KW-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="一号主变-KW-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.yhzbKWskv" placeholder="请输入一号主变-KW-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">二号主变</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="二号主变-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.ehzbAsswkv" placeholder="请输入二号主变-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="二号主变-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.ehzbAskv" placeholder="请输入二号主变-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="二号主变-KW-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.ehzbKWsswkv" placeholder="请输入二号主变-KW-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="二号主变-KW-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.ehzbKWskv" placeholder="请输入二号主变-KW-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81109</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81109-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyljAsswkv" placeholder="请输入81109-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81109-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyljAskv" placeholder="请输入81109-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81110</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81110-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyylAsswkv" placeholder="请输入81110-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81110-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyylAskv" placeholder="请输入81110-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81111</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81111-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyyAsswkv" placeholder="请输入81111-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81111-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyyAskv" placeholder="请输入81111-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81112</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81112-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyeAsswkv" placeholder="请输入81112-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81112-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyeAskv" placeholder="请输入81112-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81113</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81113-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyysAsswkv" placeholder="请输入81113-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81113-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyysAskv" placeholder="请输入81113-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81114</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81114-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyfAsswkv" placeholder="请输入81114-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81114-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyfAskv" placeholder="请输入81114-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81115</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81115-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyywAsswkv" placeholder="请输入81115-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81115-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyywAskv" placeholder="请输入81115-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81116</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81116-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyliuAsswkv" placeholder="请输入81116-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81116-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyliuAskv" placeholder="请输入81116-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81117</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81117-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyqAsswkv" placeholder="请输入81117-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81117-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyyqAskv" placeholder="请输入81117-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">81118</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="81118-A-35kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyybAsswkv" placeholder="请输入81118-A-35kv"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="81118-A-10kv:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yfhzdzjcxdlFormData.byyybAskv" placeholder="请输入81118-A-10kv"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('yfhzdzjcxdlForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('yfhzdzjcxdlForm')">确 定</el-button>
        </div>
      </el-dialog>


      <!--      出线电量弹出框-->
      <el-dialog :title="myDialogTitle" :visible.sync="cxdlFormVisible" ref="cxdlForm">
        <el-form :inline="true" :model="cxdlFormData" class="demo-form-inline" :disabled="isInput">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="cxdlFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="出线名称:">
                <el-input v-model="cxdlFormData.cxmc" placeholder="出线名称"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="有功电量:">
                <el-input v-model="cxdlFormData.ygdl" placeholder="有功电量"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="无功电量:">
                <el-input v-model="cxdlFormData.wgdl" placeholder="无功电量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="功率因数:">
                <el-input v-model="cxdlFormData.glys" placeholder="功率因数"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>



        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('cxdlForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('cxdlForm')">确 定</el-button>
        </div>
      </el-dialog>

      <!-- 指标统计弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="zbtjFormVisible" ref="zbtjForm">

        <el-form :inline="true" :model="zbtjFormData" class="demo-form-inline" :disabled="isInput">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">安全记录(天)</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="安全记录(天)-无责任事故:">
                <el-input v-model="zbtjFormData.aqjlwzrsg" placeholder="请输入安全记录(天)-无责任事故"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="安全记录(天)-无设备事故:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.aqjlwsbsg" placeholder="请输入安全记录(天)-无设备事故"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">倒闸操作</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="倒闸操作-次数:">
                <el-input v-model="zbtjFormData.dzczcs" placeholder="请输入倒闸操作-次数"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="倒闸操作-正确率:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.dzczzql" placeholder="请输入倒闸操作-正确率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="倒闸操作-票数:">
                <el-input v-model="zbtjFormData.dzczps" placeholder="请输入倒闸操作-票数"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="倒闸操作-合格率:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.dzczhgl" placeholder="请输入倒闸操作-合格率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">工作票</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="工作票-一种:">
                <el-input v-model="zbtjFormData.gzpyz" placeholder="请输入工作票-一种"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="工作票-二种:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.gzpez" placeholder="请输入工作票-二种"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="工作票-合格率:">
                <el-input v-model="zbtjFormData.gzphgl" placeholder="请输入工作票-合格率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">保护动作次数</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="保护动作次数-动作:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.bhdzcsdz" placeholder="请输入保护动作次数-动作"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="保护动作次数-误动:">
                <el-input v-model="zbtjFormData.bhdzcswd" placeholder="请输入保护动作次数-误动"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="保护动作次数-正确率:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.bhdzcszql" placeholder="请输入保护动作次数-正确率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">自动装置动作次数</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="自动装置动作次数-动作:">
                <el-input v-model="zbtjFormData.zdzzdzcsdz" placeholder="请输入保护动作次数-动作"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="自动装置动作次数-误动:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="zbtjFormData.zdzzdzcswd" placeholder="请输入保护动作次数-误动"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="自动装置动作次数-正确率:">
                <el-input v-model="zbtjFormData.zdzzdzcszql" placeholder="请输入保护动作次数-正确率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('zbtjForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('zbtjForm')">确 定</el-button>
        </div>
      </el-dialog>



      <!-- 设备评级弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="sbpjFormVisible" ref="sbpjForm">

        <el-form :inline="true" :model="sbpjFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="sbpjFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">主变</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变-单元数量:">
                <el-input v-model="sbpjFormData.zbdysl" placeholder="请输入主变-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="主变-一类:">
                <el-input v-model="sbpjFormData.zbyl" placeholder="请输入主变-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变-二类:">
                <el-input v-model="sbpjFormData.zbel" placeholder="请输入主变-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="主变-三类:">
                <el-input v-model="sbpjFormData.zbsl" placeholder="请输入主变-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变-完好率:">
                <el-input v-model="sbpjFormData.zbwhl" placeholder="请输入主变-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">母线</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="母线-单元数量:">
                <el-input v-model="sbpjFormData.mxdysl" placeholder="请输入母线-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="母线-一类:">
                <el-input v-model="sbpjFormData.mxyl" placeholder="请输入母线-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="母线-二类:">
                <el-input v-model="sbpjFormData.mxel" placeholder="请输入母线-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="母线-三类:">
                <el-input v-model="sbpjFormData.mxsl" placeholder="请输入母线-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="母线-完好率:">
                <el-input v-model="sbpjFormData.mxwhl" placeholder="请输入母线-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">开关</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="开关-单元数量:">
                <el-input v-model="sbpjFormData.kgdysl" placeholder="请输入开关-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="开关-一类:">
                <el-input v-model="sbpjFormData.kgyl" placeholder="请输入开关-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="开关-二类:">
                <el-input v-model="sbpjFormData.kgel" placeholder="请输入开关-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="开关-三类:">
                <el-input v-model="sbpjFormData.kgsl" placeholder="请输入开关-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="开关-完好率:">
                <el-input v-model="sbpjFormData.kgwhl" placeholder="请输入开关-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>




          <el-divider content-position="left">电力电容器</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="电力电容器-单元数量:">
                <el-input v-model="sbpjFormData.dldrqdysl" placeholder="请输入电力电容器-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="电力电容器-一类:">
                <el-input v-model="sbpjFormData.dldrqyl" placeholder="请输入电力电容器-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="电力电容器-二类:">
                <el-input v-model="sbpjFormData.dldrqel" placeholder="请输入电力电容器-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="电力电容器-三类:">
                <el-input v-model="sbpjFormData.dldrqsl" placeholder="请输入电力电容器-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="电力电容器-完好率:">
                <el-input v-model="sbpjFormData.dldrqwhl" placeholder="请输入电力电容器-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">所用变</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="所用变-单元数量:">
                <el-input v-model="sbpjFormData.sybdysl" placeholder="所用变-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="所用变-一类:">
                <el-input v-model="sbpjFormData.sybyl" placeholder="所用变-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="所用变-二类:">
                <el-input v-model="sbpjFormData.sybel" placeholder="所用变-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="所用变-三类:">
                <el-input v-model="sbpjFormData.sybsl" placeholder="所用变-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="所用变-完好率:">
                <el-input v-model="sbpjFormData.sybwhl" placeholder="所用变-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">刀闸</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="刀闸-单元数量:">
                <el-input v-model="sbpjFormData.dzdysl" placeholder="请输入刀闸-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="刀闸-一类:">
                <el-input v-model="sbpjFormData.dzyl" placeholder="请输入刀闸-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="刀闸-二类:">
                <el-input v-model="sbpjFormData.dzel" placeholder="请输入刀闸-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="刀闸-三类:">
                <el-input v-model="sbpjFormData.dzsl" placeholder="请输入刀闸-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="刀闸-完好率:">
                <el-input v-model="sbpjFormData.dzwhl" placeholder="请输入刀闸-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">直流系统</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="直流系统-单元数量:">
                <el-input v-model="sbpjFormData.zlxtdysl" placeholder="请输入直流系统-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="直流系统-一类:">
                <el-input v-model="sbpjFormData.zlxtyl" placeholder="请输入直流系统-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="直流系统-二类:">
                <el-input v-model="sbpjFormData.zlxtel" placeholder="请输入直流系统-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="直流系统-三类:">
                <el-input v-model="sbpjFormData.zlxtsl" placeholder="请输入直流系统-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="直流系统-完好率:">
                <el-input v-model="sbpjFormData.zlxtwhl" placeholder="请输入直流系统-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">防雷接地</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="防雷接地-单元数量:">
                <el-input v-model="sbpjFormData.fljddysl" placeholder="请输入防雷接地-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="防雷接地-一类:">
                <el-input v-model="sbpjFormData.fljdyl" placeholder="请输入防雷接地-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="防雷接地-二类:">
                <el-input v-model="sbpjFormData.fljdel" placeholder="请输入防雷接地-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="防雷接地-三类:">
                <el-input v-model="sbpjFormData.fljdsl" placeholder="请输入防雷接地-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="防雷接地-完好率:">
                <el-input v-model="sbpjFormData.fljdwhl" placeholder="请输入防雷接地-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">继自装置</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="继自装置-单元数量:">
                <el-input v-model="sbpjFormData.jzzzdysl" placeholder="请输入继自装置-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="继自装置-一类:">
                <el-input v-model="sbpjFormData.jzzzyl" placeholder="请输入继自装置-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="继自装置-二类:">
                <el-input v-model="sbpjFormData.jzzzel" placeholder="请输入继自装置-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="继自装置-三类:">
                <el-input v-model="sbpjFormData.jzzzsl" placeholder="请输入继自装置-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="继自装置-完好率:">
                <el-input v-model="sbpjFormData.jzzzwhl" placeholder="请输入继自装置-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>



          <el-divider content-position="left">监控系统</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="监控系统-单元数量:">
                <el-input v-model="sbpjFormData.jkxtdysl" placeholder="请输入监控系统-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="监控系统-一类:">
                <el-input v-model="sbpjFormData.jkxtyl" placeholder="请输入监控系统-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="监控系统-二类:">
                <el-input v-model="sbpjFormData.jkxtel" placeholder="请输入监控系统-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="监控系统-三类:">
                <el-input v-model="sbpjFormData.jkxtsl" placeholder="请输入监控系统-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="监控系统-完好率:">
                <el-input v-model="sbpjFormData.jkxtwhl" placeholder="请输入监控系统-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">五防程序锁</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="五防程序锁-单元数量:">
                <el-input v-model="sbpjFormData.wfcxsdysl" placeholder="请输入五防程序锁-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="五防程序锁-一类:">
                <el-input v-model="sbpjFormData.wfcxsyl" placeholder="请输入五防程序锁-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="五防程序锁-二类:">
                <el-input v-model="sbpjFormData.wfcxsel" placeholder="请输入五防程序锁-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="五防程序锁-三类:">
                <el-input v-model="sbpjFormData.wfcxssl" placeholder="请输入五防程序锁-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="五防程序锁-完好率:">
                <el-input v-model="sbpjFormData.wfcxswhl" placeholder="请输入五防程序锁-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>


          <el-divider content-position="left">土建</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="土建-单元数量:">
                <el-input v-model="sbpjFormData.tjdysl" placeholder="请输入土建-单元数量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="土建-一类:">
                <el-input v-model="sbpjFormData.tjyl" placeholder="请输入土建-一类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="土建-二类:">
                <el-input v-model="sbpjFormData.tjel" placeholder="请输入土建-二类"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="土建-三类:">
                <el-input v-model="sbpjFormData.tjsl" placeholder="请输入土建-三类"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="土建-完好率:">
                <el-input v-model="sbpjFormData.tjwhl" placeholder="请输入土建-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">设备指标</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="设备指标-台数:">
                <el-input v-model="sbpjFormData.sbzbts" placeholder="请输入设备指标-台数"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="设备指标-完好率:">
                <el-input v-model="sbpjFormData.sbzbwhl" placeholder="请输入设备指标-完好率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="设备指标-一类率:">
                <el-input v-model="sbpjFormData.sbzbyll" placeholder="请输入设备指标-一类率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">设备维护次数</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="设备维护次数-一次:">
                <el-input v-model="sbpjFormData.sbwhcsyc" placeholder="请输入设备维护次数-一次"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="设备维护次数-二次:">
                <el-input v-model="sbpjFormData.sbwhcsec" placeholder="请输入设备维护次数-二次"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="设备维护次数-直流:">
                <el-input v-model="sbpjFormData.sbwhcszl" placeholder="请输入设备维护次数-直流"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="设备维护次数-及时率:">
                <el-input v-model="sbpjFormData.sbwhcsjsl" placeholder="请输入设备维护次数-及时率"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">主变容量/台数</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="主变容量:">
                <el-input v-model="sbpjFormData.zbrl" placeholder="请输入主变容量"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="台数:">
                <el-input v-model="sbpjFormData.ts" placeholder="请输入台数"></el-input>
              </el-form-item>
            </el-col>
          </el-row>



        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('sbpjForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('sbpjForm')">确 定</el-button>
        </div>
      </el-dialog>


      <!-- 电压统计弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="dytjFormVisible" ref="dytjForm">

        <el-form :inline="true" :model="dytjFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="dytjFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">最高kv</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="最高kv-35kv母线:">
                <el-input v-model="dytjFormData.zgkvsswkvmx" placeholder="请输入最高kv-35kv母线"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="最高kv-10kv母线:">
                <el-input v-model="dytjFormData.zgkvskvmx" placeholder="请输入最高kv-10kv母线"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">最低kv</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="最低kv-35kv母线:">
                <el-input v-model="dytjFormData.zdkvsswkvmx" placeholder="请输入最低kv-35kv母线"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="最低kv-10kv母线:">
                <el-input v-model="dytjFormData.zdkvskvmx" placeholder="请输入最低kv-10kv母线"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">超标小时</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="超标小时-高-35kv母线:">
                <el-input v-model="dytjFormData.cbxsgsswkvmx" placeholder="请输入超标小时-高-35kv母线"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="超标小时-高-10kv母线:">
                <el-input v-model="dytjFormData.cbxsgskvmx" placeholder="请输入超标小时-高-10kv母线"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="超标小时-低-35kv母线:">
                <el-input v-model="dytjFormData.cbxsdsswkvmx" placeholder="请输入超标小时-低-35kv母线"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="超标小时-低-10kv母线:">
                <el-input v-model="dytjFormData.cbxsdskvmx" placeholder="请输入超标小时-低-10kv母线"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('dytjForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('dytjForm')">确 定</el-button>
        </div>
      </el-dialog>


      <!-- 操作次数统计弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="czcsFormVisible" ref="czcsForm">

        <el-form :inline="true" :model="czcsFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="czcsFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">相关信息</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="姓名:">
                <el-input v-model="czcsFormData.xm" placeholder="请输入姓名"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="本月:">
                <el-input v-model="czcsFormData.benyue" placeholder="请输入本月"></el-input>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="累计:">
                <el-input v-model="czcsFormData.lj" placeholder="请输入累计"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('czcsForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('czcsForm')">确 定</el-button>
        </div>
      </el-dialog>

      <!-- 缺陷及处理情况弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="qxjclqkFormVisible" ref="qxjclqkForm">
        <el-form :inline="true" :model="qxjclqkFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="qxjclqkFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">相关信息</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="内容:">
                <el-input v-model="qxjclqkFormData.nr" placeholder="请输入内容"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button  @click="close('qxjclqkForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('qxjclqkForm')">确 定</el-button>
        </div>
      </el-dialog>


      <!-- 运行说明弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="yxsmFormVisible" ref="yxsmForm">
        <el-form :inline="true" :model="yxsmFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="yxsmFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-divider content-position="left">相关信息</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="内容:">
                <el-input v-model="yxsmFormData.nr" placeholder="请输入内容"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>

        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('yxsmForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('yxsmForm')">确 定</el-button>
        </div>
      </el-dialog>


      <!-- 安全措施、反事故措施执行情况弹出框 -->
      <el-dialog :title="myDialogTitle" :visible.sync="aqcsFormVisible" ref="aqcsForm">
        <el-form :inline="true" :model="aqcsFormData" class="demo-form-inline">
          <el-row>
            <el-col :span="12">
              <el-form-item label="月份:">
                <!-- 表号默认只能读，是系统自动分配的-->
                <el-input v-model="aqcsFormData.nianyue" placeholder="××××年××月"></el-input>
              </el-form-item>
            </el-col>
          </el-row>

          <el-divider content-position="left">相关信息</el-divider>
          <el-row>
            <el-col :span="12">
              <el-form-item label="内容:">
                <el-input v-model="aqcsFormData.nr" placeholder="请输入内容"></el-input>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>




        <div slot="footer" class="dialog-footer" v-show="!ischeck">
          <el-button @click="close('aqcsForm')">取 消</el-button>
          <el-button type="primary" @click="submitForm('aqcsForm')">确 定</el-button>
        </div>
      </el-dialog>


    </div>
  </div>
</template>

<script>
import bdsybApi from '@/api/sjtb/scgl/bdsyb'
import syjApi from '@/api/sjtb/scgl/syjtjb'

export default {
  data() {
    return {


      currentPageName:'总览',
      activeName: 'first',
      // 总览表格数据
      zonglanTableData: [],
      //电量统计表格数据
      dianliangtongjiTableData:[],
      //月负荷最大值表格数据
      yfhzdzjcxdlTableData:[],
      //出线电量表格数据
      cxdlTableData:[],
      //指标统计表格数据
      zbtjTableData:[],
      //设备评级表格数据
      sbpjTableData:[],
      //电压统计表格数据
      dytjTableData:[],
      // 操作次数表格数据
      czcsTableData:[],
      //缺陷表格数据
      qxjclqkTableData:[],
      //运行说明表格数据
      yxsmTableData:[],
      //安全措施和反事故措施表格数据
      aqcsTableData:[],



      //总览编辑数据
      zonglanFormData:{
        nianyue:'',
        dwmc:'',
        bcdw:'',
        tbsj:'',
        zbren:'',
        shren:'',
        bcqx:''
      },

      //电量统计编辑数据
      dianliangtongjiFormData:{
        nianyue:'',
        dyjxKwh:2909340,
        dyjxKvarh:749140,
        zbsswkvKwh:0,
        zbsswkvKvarh:0,
        zbskvKwh:2907960,
        zbskvKvarh:656160,
        jcceKwh:1380,
        jcceKvarh:92980,
        zbpjshKwh:690,
        zbpjshKvarh:46490,
        sswkvcxKwh:0,
        sswkvcxKvarh:0,
        skvcxKwh:2910300,
        skvcxKvarh:939240,
        dldrq:30108,
        ll:0.952,
        sydl:2560,
        bz:'hello world'
      },

      //月负荷最大值编辑数据
      yfhzdzjcxdlFormData:{
        nianyue:'',
        yhzbAsswkv:1000,
        yhzbAskv:2000,
        yhzbKWsswkv:1000,
        yhzbKWskv:2000,
        ehzbAsswkv:1000,
        ehzbAskv:2000,
        ehzbKWsswkv:1000,
        ehzbKWskv:2000,
        byyljAsswkv:81109,
        byyljAskv:811109,
        byyylAsswkv:8111035,
        byyylAskv:8111010,
        byyyyAsswkv:8111135,
        byyyyAskv:8111110,
        byyyeAsswkv:8111235,
        byyyeAskv:8111210,
        byyysAsswkv:8111335,
        byyysAskv:8111310,
        byyyfAsswkv:8111435,
        byyyfAskv:8111410,
        byyywAsswkv:8111535,
        byyywAskv:8111510,
        byyyliuAsswkv:8111635,
        byyyliuAskv:8111610,
        byyyqAsswkv:8111735,
        byyyqAskv:8111710,
        byyybAsswkv:8111835,
        byyybAskv:8111810
      },

      //出现电流编辑数据
      cxdlFormData:{
        nianyue:'',
        cxmc:'xzy',
        ygdl:"10000",
        wgdl:"9000",
        glys:"0.1"
      },

      //指标统计编辑数据
      zbtjFormData:{
        nianyue:'',
        aqjlwzrsg:31,
        aqjlwsbsg:31,
        dzczcs:25,
        dzczzql:100,
        dzczps:4,
        dzczhgl:100,
        gzpyz:0,
        gzpez:10,
        gzphgl:100,
        bhdzcsdz:52,
        bhdzcswd:51,
        bhdzcszql:99,
        zdzzdzcsdz:52,
        zdzzdzcswd:51,
        zdzzdzcszql:99
      },

      //设备评级编辑数据
      sbpjFormData:{
        nianyue:'',
        zbdysl:2,
        zbyl:3,
        zbel:4,
        zbsl:5,
        zbwhl:100,
        mxdysl:2,
        mxyl:3,
        mxel:4,
        mxsl:5,
        mxwhl:100,
        kgdysl:2,
        kgyl:3,
        kgel:4,
        kgsl:5,
        kgwhl:100,
        dldrqdysl:2,
        dldrqyl:3,
        dldrqel:4,
        dldrqsl:5,
        dldrqwhl:100,
        sybdysl:2,
        sybyl:3,
        sybel:4,
        sybsl:5,
        sybwhl:100,
        dzdysl:2,
        dzyl:3,
        dzel:4,
        dzsl:5,
        dzwhl:100,
        zlxtdysl:2,
        zlxtyl:3,
        zlxtel:4,
        zlxtsl:5,
        zlxtwhl:100,
        fljddysl:2,
        fljdyl:3,
        fljdel:4,
        fljdsl:5,
        fljdwhl:100,
        jzzzdysl:2,
        jzzzyl:3,
        jzzzel:4,
        jzzzsl:5,
        jzzzwhl:100,
        jkxtdysl:2,
        jkxtyl:3,
        jkxtel:4,
        jkxtsl:5,
        jkxtwhl:100,
        wfcxsdysl:2,
        wfcxsyl:3,
        wfcxsel:4,
        wfcxssl:5,
        wfcxswhl:100,
        tjdysl:2,
        tjyl:3,
        tjel:4,
        tjsl:5,
        tjwhl:100,
        sbzbts:88,
        sbzbwhl:100,
        sbzbyll:100,
        sbwhcsyc:0,
        sbwhcsec:1,
        sbwhcszl:1,
        sbwhcsjsl:100,
        zbrl:1000,
        ts:5
      },

      //电压统计编辑数据
      dytjFormData:{
        nianyue:'',
        zgkvsswkvmx:1000,
        zgkvskvmx:100,
        zdkvsswkvmx:10,
        zdkvskvmx:1,
        cbxsgsswkvmx:100,
        cbxsgskvmx:10,
        cbxsdsswkvmx:10,
        cbxsdskvmx:1
      },

      //操作次数编辑数据
      czcsFormData:{
        nianyue:'',
        xm:'xzy',
        benyue:100,
        lj:1000
      },

      //缺陷及处理情况编辑数据
      qxjclqkFormData:{
        nianyue:'',
        nr:"heloowowda"
      },

      //运行说明编辑数据
      yxsmFormData:{
        nianyue:'',
        nr:"hello运行说明"
      },


      aqcsFormData:{
        nianyue:'',
        nr:"hello安全措施、反事故措施执行情况"
      },


      operatorstr:'',

      //table数据总条数
      total: 0,
      //当前页码
      pageNo: 1,
      // 分页数
      pageSize: 5,
      //时间快捷选择
      pickerOptions: {
        // disabledDate(time) {
        //   return time.getTime() > Date.now();
        // },
        shortcuts: [{
          text: '今天',
          onClick(picker) {
            picker.$emit('pick', new Date());
          }
        }, {
          text: '昨天',
          onClick(picker) {
            const date = new Date();
            date.setTime(date.getTime() - 3600 * 1000 * 24);
            picker.$emit('pick', date);
          }
        }, {
          text: '一周前',
          onClick(picker) {
            const date = new Date();
            date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
            picker.$emit('pick', date);
          }
        }]
      },


      //编辑框是否显示
      dialogFormVisible: false,
      //弹出框是否是查看
      ischeck: false,
      //弹出框标题
      myDialogTitle: '',


      //总览区域可见性
      zonglanVisible:true,

      //电量统计区域可见性
      dianliangtongjiVisible:false,

      //月负荷最大值区域可见性
      yfhzdzjcxdlVisible:false,

      //出线电量区域可见性
      cxdlVisible:false,

      //指标统计区域可见性
      zbtjVisible:false,

      //设备评级区域可见性:
      sbpjVisible:false,

      //电压统计区域可见性
      dytjVisible:false,

      //操作次数统计区域可见性
      czcsVisible:false,

      //缺陷及处理说明
      qxjclqkVisible:false,

      // 运行说明
      yxsmVisible:false,

      //安全措施、反事故措施执行情况
      aqcsVisible:false,


      //总览编辑编辑框显示
      zonglanFormVisible:false,

      //电量统计编辑框显示
      dianliangtongjiFormVisible:false,

      //月负荷最大值编辑框显示
      yfhzdzjcxdlFormVisible:false,

      //出线电量编辑框显示
      cxdlFormVisible:false,

      //指标统计编辑框显示
      zbtjFormVisible:false,

      //设备评级编辑框显示
      sbpjFormVisible:false,

      //电压统计编辑框显示
      dytjFormVisible:false,


      //操作次数编辑框显示
      czcsFormVisible:false,


      //缺陷及处理情况编辑框显示
      qxjclqkFormVisible:false,

      //运行说明编辑框显示
      yxsmFormVisible:false,

      //安全措施编辑框显示
      aqcsFormVisible:false,


      //根据审核状态判断是否可以编辑
      ischeckSh:false,

      //判断是否可以编辑
      isInput:false
    }
  },

  created() {

    this.search()

  },

  methods: {

    async search(){
      if(this.currentPageName==='总览'){
        //发送查询请求
        let res = await bdsybApi.getShZonglan(this.pageNo,this.pageSize);
        //判断是否成功
        if(res.success){
          this.zonglanTableData=res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='电量统计') {
        //发送查询请求
        let res = await bdsybApi.getShDltj(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          this.dianliangtongjiTableData=res.data.records
          // //总数量
          this.total = res.data.total
        }
      }else if(this.currentPageName==='月负荷最大值') {
        //发送查询请求
        let res = await bdsybApi.getShYfhzdz(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {

          // //赋值
          this.yfhzdzjcxdlTableData = res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='出线电量') {
        //发送查询请求
        let res = await bdsybApi.getShCxdl(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.cxdlTableData = res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='指标统计') {

        //发送查询请求
        let res = await bdsybApi.getShZbtj(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.zbtjTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='设备评级') {
        //发送查询请求
        let res = await bdsybApi.getShSbpj(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.sbpjTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='电压统计') {
        //发送查询请求
        let res = await bdsybApi.getShDytj(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.dytjTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='操作次数统计') {
        //发送查询请求
        let res = await bdsybApi.getShCzcstj(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.czcsTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='缺陷及处理情况') {
        //发送查询请求
        let res = await bdsybApi.getShQxjclqk(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.qxjclqkTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='运行说明') {
        //发送查询请求
        let res = await bdsybApi.getShYxsm(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.yxsmTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }else if(this.currentPageName==='安全措施、反事故措施执行情况') {
        //发送查询请求
        let res = await bdsybApi.getShAqcs(this.pageNo, this.pageSize);
        //判断是否成功
        if (res.success) {
          // //赋值
          this.aqcsTableData= res.data.records;
          // //总数量
          this.total = res.data.total;
        }
      }
    },


    onSubmit() {
      console.log('submit!');
    },
    handleClick(row, handle) {
      if(this.currentPageName==='总览'){
        this.zonglanFormVisible=true
        if(handle === 'check'){
          this.zonglanFormData=row;
          this.myDialogTitle = '变电所运行月报总览信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = "变电所运行月报总览信息审核";
            //显示确认按钮
            this.ischeck = false;
            //取消表单禁用
            this.isInput = true;
            this.zonglanFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
            this.zonglanFormData.approveStatus=row.approveStatus.toString();
            console.log(this.zonglanFormData)
          } else {
            //已经通过审核不能再显示
            this.zonglanFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("zonglanFormData", this.zonglanFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报总览信息填报'
          this.ischeck = false
        }
        this.dianliangtongjiFormVisible=false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='电量统计'){
        this.dianliangtongjiFormVisible = true;
        if(handle === 'check'){
          this.dianliangtongjiFormData=row;
          this.myDialogTitle = '变电所运行月报电量统计信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报电量统计信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.dianliangtongjiFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.dianliangtongjiFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("dianliangtongjiFormData", this.dianliangtongjiFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报电量统计信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='月负荷最大值'){
        this.yfhzdzjcxdlFormVisible=true
        if(handle === 'check'){
          this.yfhzdzjcxdlFormData=row;
          this.myDialogTitle = '变电所运行月报月负荷最大值信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报月负荷最大值信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.yfhzdzjcxdlFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.yfhzdzjcxdlFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("yfhzdzjcxdlFormData", this.yfhzdzjcxdlFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报月负荷最大值信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='出线电量'){
        this.cxdlFormVisible=true
        if(handle === 'check'){
          this.cxdlFormData=row;
          this.myDialogTitle = '变电所运行月报出线电量信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报出线电量信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.cxdlFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.cxdlFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("cxdlFormData", this.cxdlFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报出线电量信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.yfhzdzjcxdlFormVisible=false
      }else if(this.currentPageName==='指标统计'){
        this.zbtjFormVisible=true
        if(handle === 'check'){
          this.zbtjFormData=row;
          this.myDialogTitle = '变电所运行月报指标统计信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报指标统计信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.zbtjFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.zbtjFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("zbtjFormData", this.zbtjFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报指标统计信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='设备评级'){
        this.sbpjFormVisible=true
        if(handle === 'check'){
          this.sbpjFormData=row;
          this.myDialogTitle = '变电所运行月报设备评级信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报设备评级信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.sbpjFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.sbpjFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        }  else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("sbpjFormData", this.sbpjFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报设备评级信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='电压统计'){
        this.dytjFormVisible=true
        if(handle === 'check'){
          this.dytjFormData=row;
          this.myDialogTitle = '变电所运行月报电压统计信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报电压统计信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.dytjFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.dytjFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        }  else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("dytjFormData", this.dytjFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报电压统计信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='操作次数统计'){
        this.czcsFormVisible=true
        if(handle === 'check'){
          this.czcsFormData=row;
          this.myDialogTitle = '变电所运行月报操作次数统计信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报操作次数统计信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.czcsFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.czcsFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        }  else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("czcsFormData", this.czcsFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报操作次数统计信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='缺陷及处理情况'){
        this.qxjclqkFormVisible=true
        if(handle === 'check'){
          this.qxjclqkFormData=row;
          this.myDialogTitle = '变电所运行月报缺陷及处理情况统计信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报缺陷及处理情况统计信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.qxjclqkFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.qxjclqkFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        }  else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("qxjclqkFormData", this.qxjclqkFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报缺陷及处理情况信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.yxsmFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='运行说明'){
        this.yxsmFormVisible=true

        if(handle === 'check'){
          this.yxsmFormData=row;
          this.myDialogTitle = '变电所运行月报运行说明信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报运行说明信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.yxsmFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.yxsmFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        } else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("yxsmFormData", this.yxsmFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报运行说明信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.aqcsFormVisible=false
        this.cxdlFormVisible=false
      }else if(this.currentPageName==='安全措施、反事故措施执行情况'){
        this.aqcsFormVisible=true

        if(handle === 'check'){
          this.aqcsFormData=row;
          this.myDialogTitle = '变电所运行月报安全措施信息查看'
          //不显示确认按钮
          this.ischeck = true;
          //所有表单禁用
          this.isInput = true;
          this.$message({ message: '成功打开', type: 'success' });
        }else if (handle === 'edit') {
          this.operatorstr='edit'
          //只要不是已通过审核
          if (row.approveStatus != 2) {
            this.myDialogTitle = '变电所运行月报安全措施信息编辑'
            //显示确认按钮
            this.ischeck = false;
            //不显示审核按钮
            this.ischeckSh = false;
            //取消表单禁用
            this.isInput = false;
            this.aqcsFormData=row; //把当前要编辑的数据复制到数据域，给表单回显
          } else {
            //已经通过审核不能再显示
            this.aqcsFormVisible = false;
            this.$message({ message: "已审核不可再审核！", type: "error" });
          }
          this.operatorstr='edit'
        }else if (handle === 'add') {
          this.operatorstr='add'
          this.$resetForm("aqcsFormData", this.aqcsFormData); //清空表单数据
          this.myDialogTitle = '变电所运行月报安全措施、反事故措施执行情况信息填报'
          this.ischeck = false
        }
        this.zonglanFormVisible=false
        this.dianliangtongjiFormVisible = false
        this.yfhzdzjcxdlFormVisible=false
        this.zbtjFormVisible=false
        this.sbpjFormVisible=false
        this.dytjFormVisible=false
        this.czcsFormVisible=false
        this.qxjclqkFormVisible=false
        this.yxsmFormVisible=false
        this.cxdlFormVisible=false
      }
    },
    uploadData() {
      console.log('批量导入成功')
    },
    //每页条数改变时触发 选择一页显示多少行
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
      this.currentPage = 1;
      this.pageSize = val;
    },
    //当前页改变时触发 跳转其他页
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
      this.currentPage = val;
    },
    // 序号计算
    indexMethod (index) {
      // index默认在0开始，这里+1
      return index + 1 + (this.currentPage - 1) * this.pageSize
    },
    //Tab标签区域切换按钮事件
    handleMenuClick(tab, event){
      var content=event.target.innerText
      if(content==="总览"){
        this.currentPageName='总览'
        this.search()
        this.zonglanVisible=true
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==="电量统计"){
        this.currentPageName='电量统计'
        this.search()
        this.dianliangtongjiVisible=true
        this.zonglanVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='月负荷最大值'){
        this.currentPageName='月负荷最大值'
        this.search()
        this.yfhzdzjcxdlVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='出线电量'){
        this.currentPageName='出线电量'
        this.search()
        this.cxdlVisible=true
        this.yfhzdzjcxdlVisible=false
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
      }else if(content==='指标统计'){
        this.currentPageName='指标统计'
        this.search()
        this.zbtjVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='设备评级'){
        this.currentPageName='设备评级'
        this.search()
        this.sbpjVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='电压统计'){
        this.currentPageName='电压统计'
        this.search()
        this.dytjVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='操作次数统计'){
        this.currentPageName='操作次数统计'
        this.search()
        this.czcsVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='缺陷及处理情况'){
        this.currentPageName='缺陷及处理情况'
        this.search()
        this.qxjclqkVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.yxsmVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else if(content==='运行说明'){
        this.currentPageName='运行说明'
        this.search()
        this.yxsmVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.aqcsVisible=false
        this.cxdlVisible=false
      }else{
        this.currentPageName='安全措施、反事故措施执行情况'
        this.search()
        this.aqcsVisible=true
        this.zonglanVisible=false
        this.dianliangtongjiVisible=false
        this.yfhzdzjcxdlVisible=false
        this.zbtjVisible=false
        this.sbpjVisible=false
        this.dytjVisible=false
        this.czcsVisible=false
        this.qxjclqkVisible=false
        this.yxsmVisible=false
        this.cxdlVisible=false
      }

    },


    close(formName) {
      console.log(1)
      //总览编辑编辑框显示
      this.zonglanFormVisible=false;
      //电量统计编辑框显示
      this.dianliangtongjiFormVisible=false;
      //月负荷最大值编辑框显示
      this.yfhzdzjcxdlFormVisible=false;
      //出线电量编辑框显示
      this.cxdlFormVisible=false;
      //指标统计编辑框显示
      this.zbtjFormVisible=false;
      //设备评级编辑框显示
      this.sbpjFormVisible=false;
      //电压统计编辑框显示
      this.dytjFormVisible=false;
      //操作次数编辑框显示
      this.czcsFormVisible=false;
      //缺陷及处理情况编辑框显示
      this.qxjclqkFormVisible=false;
      //运行说明编辑框显示
      this.yxsmFormVisible=false;
      //安全措施编辑框显示
      this.aqcsFormVisible=false
      this.search()
    },


    async submitForm(formName) {
      let res = null;
      if(this.currentPageName==='总览'){
        res = await bdsybApi.updateZonglan(this.zonglanFormData)
        let nianyue=this.zonglanFormData.nianyue
        let zhuangtai=this.zonglanFormData.approveStatus
        let beizhu=this.zonglanFormData.approveBz
        //还要更新该日期的审核状态
        await bdsybApi.updateDltjStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateYfhzdzStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateCxdlStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateZbtjStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateSbpjStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateDytjStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateCzcstjStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateQxjclqkStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateYxsmStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        await bdsybApi.updateAqcsStatusAndBz({'nianyue':nianyue,'approveStatus':zhuangtai,'approveBz':beizhu})
        if (res.success) {
          // this.$message.success(res.message);
          this.$message({ message: '修改审核状态成功！', type: 'success' });
          //刷新
          this.search();
          //关闭窗口
          this.zonglanFormVisible = false;
        } else {
          this.$message.error(res.message);
        }
      }
    }
  }
}
</script>

<style lang="scss" scoped>
// 标题
.mytitle {
  font-size: large;
  padding-left: 10px;
  margin-bottom: 16px;
  float: left;
}

//按钮组
.myButtons {
  float: right
}

//格子的样式
.bg-white {
  background: #ffffff;
}

.grid-content {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.calendar ::v-deep .el-button-group::before {
  display: none;
}

.calendar ::v-deep .el-button-group::after {
  display: none;
}

// 分割线样式
.el-divider--horizontal {
  display: block;
  height: 2px;
  width: 100%;
  margin: 24px 0;
}

// 表单各项的样式
.el-form-item {
  margin: 15px 10px 15px 10px;
}
</style>
